package aryn.framework.io.xml;

public class Test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		String filename = "src\\aryn\\io\\xml\\generated.xml";
		XMLbuilder builder = new XMLbuilder();
		builder.addElement("primo");
		builder.openChild();
			builder.addElement("secondo", "secondoText");
			builder.addElement("terzo");
			builder.openChild();
				builder.addElement("add1");
				builder.addElement("add2");
				builder.addElement("quarto");
				builder.addAttribute("attr1", "value1");
				builder.addElement("quinto", "quartoText");	
			builder.closeChild();
		builder.closeChild();
		builder.addElement("gl");
		builder.create(filename);
		
		
	}

}
